/*
 * Copyright 2006-2023 ahtelit.com, All Rights Reserved.
 */

package com.telit.firecommand.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;


/**
 * CameraSet
 *
 * @author yuezhuang
 * @since 2023-11-21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "CameraSet", description = "CameraSet")
public class CameraSet implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty(value = "速度")
    private Integer speed;

    @ApiModelProperty(value = "方向 1-左 2-右")
    private String direction;

    @ApiModelProperty(value = "动作 0-开始 1-停止")
    private Integer action;

    @ApiModelProperty(value = "cameraIndexCode")
    private String cameraIndexCode;

}
